package command;

import object.Stage;

import java.io.File;

public class RmCommand {
    private String file;
    public RmCommand(String path){
        file = path;
    }
    public void excute()throws Exception{
        Stage stage = Stage.deserialize();
        stage.removeStage(file);
        stage.writeObject();
    }
}
